package org.jradweb.core.orm;

import java.util.Map;

/**
 * 
 * 
 * Created On 2008-4-29
 * 
 * @author <a href="mailto:wagzhi@gmail.com">Paul Wang</a>
 * @version $Id: QueryCondition.java 149 2008-10-10 03:10:10Z wagzhi $
 */
public class QueryCondition implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 6047728820656964125L;
	private String condition;
	private Map<String, Object> params;

	public QueryCondition(String condition, Map<String, Object> params) {
		this.condition = condition;
		this.params = params;
	}

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public Map<String, Object> getParams() {
		return params;
	}

	public void setParams(Map<String, Object> params) {
		this.params = params;
	}

}
